package com.youtills.core.auth;


import com.youtills.core.admin.ILookup;
import com.youtills.core.auth.db.dao.Authorization;

/**
 * Created by IntelliJ IDEA.
 * User: ravi
 * Date: 7/23/12
 * Time: 11:35 AM
 * To change this template use File | Settings | File Templates.
 */
public interface IAuthorizationDao {

    Authorization getAuthorization(IAuth auth, ILookup resourcePermissionType);

    Authorization getAuthorization(IAuth auth, ILookup resourcePermissionType, Resource targetResource);

}
